home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / pc / PWA-LOG1.ZIP / LOGON.PPE (.txt) < prev    next >
Encoding:
PCBoard Programming Language Executable  |  1994-03-31  |  1.3 KB  |  100 lines

  1. ;------------------------------------------------------------------------------
  2. ;                                                   .ss.
  3. ;                                                   `²²'
  4. ;             .,sS$Ss,,s$  .,sS$$$Ss.  .,sS$Ss,,s$ .ss.  .sSs.
  5. ;           .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
  6. ;           $$$'   .$$$' $$$²Sçsµ²' .$$$'   .$$$'.$$$' .$$$'  `$$b.
  7. ;           $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$'    ;$$$
  8. ;           `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
  9. ;                                    .sS²°$$$²²°"'       d²°'
  10. ;                                  .$$²  .$$'
  11. ;                                  $$$.,d$$'
  12. ;                                  `²S$$S²'
  13. ;------------------------------------------------------------------------------
  14. ; P.P.L.X. 2.OO                          (C)1996 - Lone Runner / AEGiS CoRP'96 
  15. ;------------------------------------------------------------------------------
  16. ; PPE 2.OO (plain) - Analysis ON - Postprocessing ON
  17. ;------------------------------------------------------------------------------
  18.  
  19.     Integer  INTEGER001
  20.     Integer  INTEGER002
  21.     Integer  INTEGER003
  22.     String   STRING001
  23.     String   STRING002
  24.     String   STRING003
  25.     String   STRING004
  26.     String   STRING005
  27.  
  28. ;------------------------------------------------------------------------------
  29.  
  30.     STRING003 = UN_Name()
  31.     INTEGER003 = PcbNode()
  32.     FOpen 1, PPEPath() + "BLACK.LST", 0, 0
  33.     FGet 1, STRING005
  34.     If (STRING005 == "") Then
  35.         Goto LABEL001
  36.     Endif
  37.     STRING004 = STRING005
  38.     If (STRING003 == STRING004) Then
  39.         Goto LABEL001
  40.     Endif
  41.     FOpen 1, PPEPath() + "LOGON.cfg", 0, 0
  42.     FGet 1, INTEGER001
  43.     FGet 1, INTEGER002
  44.     FOpen 2, PPEPath() + "LOGON.TMP", 2, 0
  45.     FPut 2, "User logs on in Node ", INTEGER003, " : ", STRING003
  46.     FClose 2
  47.     FOpen 2, PPEPath() + "LOGON.TMP", 0, 0
  48.     FGet 2, STRING002
  49.     FClose 2
  50.     STRING001 = PPEPath() + "LOGON.TMP"
  51.     Delete STRING001
  52.     PrintLn "Sending MSG to all Nodes : "
  53.     Broadcast INTEGER001, INTEGER002, STRING002
  54.     Broadcast INTEGER001, INTEGER002, "LOGO-N by Drizzt/PWA"
  55.     :LABEL001
  56.  
  57. ;------------------------------------------------------------------------------
  58. ;
  59. ; Usage report (before postprocessing)
  60. ;
  61. ; ■ Statements used :
  62. ;
  63. ;    4       Goto 
  64. ;    4       Let 
  65. ;    1       PrintLn 
  66. ;    2       If 
  67. ;    4       FOpen 
  68. ;    2       FClose 
  69. ;    4       FGet 
  70. ;    1       FPut 
  71. ;    1       Delete 
  72. ;    2       Broadcast 
  73. ;
  74. ;
  75. ; ■ Functions used :
  76. ;
  77. ;    5       +
  78. ;    2       ==
  79. ;    2       !
  80. ;    5       PPEPath()
  81. ;    1       PcbNode()
  82. ;    1       UN_Name()
  83. ;
  84. ;------------------------------------------------------------------------------
  85. ;
  86. ; Analysis flags : No flag
  87. ;
  88. ;------------------------------------------------------------------------------
  89. ;
  90. ; Postprocessing report
  91. ;
  92. ;    0       For/Next
  93. ;    0       While/EndWhile
  94. ;    2       If/Then or If/Then/Else
  95. ;    0       Select Case
  96. ;
  97. ;------------------------------------------------------------------------------
  98. ;                 AEGiS Corp - Break the routines, code against the machines!
  99. ;------------------------------------------------------------------------------
  100.